//引入mysql模块
const mysql=require('mysql');
//建立连接池对象
const pool=mysql.createPool({
  host:'127.0.0.1',
  port:'3306',
  user:'root',
  password:'',
  database:'oil',
  connectionLimit:15
});
//暴露对象
module.exports=pool;

